/**
 * 
 */
package com.curso.sesion8.constructores;

/**
 * @author MATEUS
 *
 */
public class Father {

	protected String name;
	
	private static Byte responsabilityLevel;
	
	static {
		System.out.println("bloque de inicializacion estatico");
		
		if (responsabilityLevel == null) {
			responsabilityLevel = 1;
		}
	}
	
	
	{
		System.out.println("bloque de inicializacion");
		if (name == null) {
			name = "default name";
		}
	}
	
	
	/**
	 * 
	 */
	public Father() {
		System.out.println("constructor del father");
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Father [" + (name != null ? "name=" + name : "") + "]";
	}

}
